// 对话框组件的props类型
export interface ConversationProps {
  id: number;
  title: string;
  selectModel: string;
  createAt: string;
  updateAt: string;
  providerID: number;
}
// 选择模型的props类型
export interface ProviderProps {
  id: number;
  name: string;
  title?: string;
  desc?: string;
  avatar?: string;
  createAt: string;
  updateAt: string;
  models: string[];
}
// 消息列表的props类型
export type MessageStaus = "loading" | "success" | "finished";
export interface MessageProps {
  id: number;
  content: string;
  type: "question" | "answer";
  conversationID: number;
  status?: MessageStaus;
  createAt: string;
  updateAt: string;
}
